package org.jeecg.modules.demo.drfReviewOpinions.service.impl;

import org.jeecg.modules.demo.drfReviewOpinions.entity.DrfReviewOpinions;
import org.jeecg.modules.demo.drfReviewOpinions.mapper.DrfReviewOpinionsMapper;
import org.jeecg.modules.demo.drfReviewOpinions.service.IDrfReviewOpinionsService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 审核意见表
 * @Author: jeecg-boot
 * @Date:   2025-10-17
 * @Version: V1.0
 */
@Service
public class DrfReviewOpinionsServiceImpl extends ServiceImpl<DrfReviewOpinionsMapper, DrfReviewOpinions> implements IDrfReviewOpinionsService {

    @Override
    public DrfReviewOpinions saveDrfReviewOpinions(DrfReviewOpinions drfReviewOpinions) {
        this.baseMapper.saveReviewOpinion(drfReviewOpinions);
        return drfReviewOpinions;
    }

    @Override
    public String getOpinionsId(String id, String userId) {

        return this.baseMapper.getOpinionsId(id, userId);
    }
}
